<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>欣荣订餐系统后台登陆</title>
    <meta name="keywords" content="欣荣订餐系统后台登陆" />
    <meta name="description" content="欣荣订餐系统后台登陆" />

    <link rel="stylesheet" type="text/css" href="/css/login/vendor/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/css/login/fonts/iconic/css/material-design-iconic-font.min.css">
    <link rel="stylesheet" type="text/css" href="/css/login/css/util.css">
    <link rel="stylesheet" type="text/css" href="/css/login/css/main.css">
    <style>
        /*html {filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(100%);}*/
    </style>
</head>

<body>

<div class="limiter">
    <div class="container-login100" style="background-image: url('/css/login/images/bg-01.jpg');">
        <div class="wrap-login100 p-l-55 p-r-55 p-t-65 p-b-54">
            <form class="login100-form validate-form" id="loginformbtn" action="/login" method="post">
                <span class="login100-form-title p-b-49">欣荣订餐系统后台登陆</span>
                ${error}
                <div class="wrap-input100 validate-input m-b-23" data-validate="请输入账号">
                    <span class="label-input100">用户名</span>
                    <input class="input100" type="text" name="name" required placeholder="请输入账号" autocomplete="off">
                    <span class="focus-input100" data-symbol="&#xf206;"></span>
                </div>

                <div class="wrap-input100 validate-input m-b-23" data-validate="请输入密码">
                    <span class="label-input100">密码</span>
                    <input class="input100" type="password" name="password" required placeholder="请输入密码">
                    <span class="focus-input100" data-symbol="&#xf190;"></span>
                </div>

               <%-- <div  data-validate="登录类型">
                    <span class="label-input100">登录类型</span>
                    <select name="type" id="logintype">
                        <option value="1">管理员</option>
                        <option value="2">业务员</option>
                    </select>
                </div>--%>

                <div class="text-right p-t-8 p-b-31">

                </div>

                <div class="container-login100-form-btn">
                    <div class="wrap-login100-form-btn">
                        <div class="login100-form-bgbtn"></div>
                        <button class="login100-form-btn" id="btnform" type="submit">登 录</button>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>

<script src="/css/login/vendor/jquery/jquery-3.2.1.min.js"></script>
<script src="/css/login/js/main.js"></script>
<script type="text/javascript">

    function keyLogin(){
        if (event.keyCode==13)  //回车键的键值为13
            document.getElementById("loginbtn").click(); //调用登录按钮的登录事件
    }

</script>
</body>
</html>
